package com.softline.documentsmall.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.softline.documentsmall.entity.Collection;
import com.softline.documentsmall.entity.CollectionVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CollectionMapper extends BaseMapper<Collection> {

    /**
     * 根据passportId查询收藏记录
     * @param passportId
     * @param type
     * @return List<CollectionVO>
     */
    List<CollectionVO> getReconds(@Param("passportId") String passportId,@Param("type") String type,@Param("pageNo") Integer pageNo, @Param("pageSize")Integer pageSize);
}